//新增敏感信息 type=save 保存  type=read 只能查看
function sensitivity(data) {
    //敏感信息id
    var id = $('#sensitiveId').val();
    // console.log(id==='');
    if (id === '' || id === undefined){
        id = 0;
    }
    var url;
    if (data=="save"){
        url = '/system/sensitive/page/'+id;
    }else {
        url = '/system/sensitive/read/'+id;
    }
    var title = '敏感信息';
    var height = '600px';
    var width = '400px';
    var options = {
        url: url,
        title: title,
        height: height
    };
    popupDialog(options);
}